package com.practice.pojo.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Jasmine
 * @since 2023-05-14
 */
@Data
@Accessors(chain = true)
@TableName("ydd_cate")
@ApiModel(value = "Cate对象", description = "")
public class Cate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String catename;

    @ApiModelProperty("字段图标class")
    private String icon;

    @ApiModelProperty("排序数字")
    private Integer sortNum;

    @ApiModelProperty("是否为默认数据，null表示不是，1表示是")
    private String defaultData;


}
